package com.wu.flandre_common.util;

/**
 * CommonUtil <br/>
 *
 * @author 50816 <br/>
 * @date 2019/12/22 21:46 <br/>
 */
public class CommonUtil {
    private static volatile CommonUtil commonUtil = null;

    private CommonUtil() {
    }

    public static CommonUtil getInstance() {
        synchronized (CommonUtil.class) {
            if (commonUtil == null) {
                commonUtil = new CommonUtil();
            }
            return commonUtil;
        }
    }

    public Integer getRandomSixNumber() {
        return (int) ((Math.random() * 9 + 1) * 100000);
    }
}
